-- GENERATED SPELL FOR [Bonelasher] --


function spell0_18470(pUnit, Event) --@Fevered Disease,n/a--
pUnit:FullCastSpellOnTarget(34363,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18470', 15000, 1)
end

function Sorts_18470(pUnit, Event)
local choix_sorts_18470 = math.random(0, 0)
if choix_sorts_18470 == 0 then
pUnit:RegisterEvent('spell0_18470', 1, 1)
end
end

function mob18470_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18470', math.random(1500, 3000), 1)
end

function mob18470_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18470_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18470_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18470, 1, 'mob18470_Action')
RegisterUnitEvent(18470, 2, 'mob18470_Leave')
RegisterUnitEvent(18470, 3, 'mob18470_Kill')
RegisterUnitEvent(18470, 4, 'mob18470_Die')
